              <td align="center"><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="ids[]" value="<?php echo $rs->goods_id;?>" id="att_<?php echo $rs->goods_id;?>" /><br/><?php echo $rs->goods_id;?></td>
              <td align="center"><?php echo $rs->product_id?></td>
              <td ><div class="col-left mr10" style="width:146px; height:112px"><a href="<?php echo $rs->detail_url?>" target="_blank"><img src="<?php echo $rs->product_img?>" width="146" height="112" style="border:1px solid #eee" align="left"></a></div>
                <div class="col-auto">
                  <h2 class="title-1 f14 lh28 mb6 blue"><a href="<?php echo $rs->detail_url?>" target="_blank"><?php echo $rs->goods_name ?></a>
                  <?php
				  if(ACTION_NAME != 'pass' && $rs->status != 1){
					  if(Yii::app()->passport->isAdministrator() || $rs->admin_id == AdminBase::$uid){
				  ?>
                   <a href="javascript:;;" style="color: #999" class="fastEdit_<?php echo $rs->goods_id;?>" onClick="fastEdit(<?php echo $rs->goods_id;?>)">(快速编辑)</a>
                   <?php
					  }
				  }
				   ?>
                  <span><a href="javascript:;;" style="color: #999" data-goods_id="<?php echo $rs->goods_id;?>" class="showNumber">(历史报名,上架)</a></span>

                   </h2>
                  <p class="gray4 lh25">
                  原价：<font color="#FF0000"><?php echo  number_format($rs->p_price,2)?></font>， 
                  活动价：<font color="#FF0000"><?php echo  number_format($rs->promo_price,2)?></font>，
                  销量：<font color="#FF0000"><?php echo (int)$rs->sales;?></font>，
                  旺旺：<b><a href="http://amos.im.alisoft.com/msg.aw?v=2&amp;site=cntaobao&amp;s=2&amp;charset=utf-8&amp;uid=<?php echo urlencode($rs->nick)?>" target="_blank"><?php echo $rs->nick?><img src="http://amos.im.alisoft.com/online.aw?v=2&amp;site=cntaobao&amp;s=2&amp;charset=utf-8&amp;uid=<?php echo urlencode($rs->nick)?>" alt=""></a></b>
                  店铺类型：<font color="#FF0000"><?php echo GoodsBmModel::model()->getShopTypeName($rs->item_type); ?></font>
                  </p>
                  <p class="gray4 lh25">
                  报名时间：<font color="#000000"><?php echo date('Y-m-d H:i:s',$rs->add_time)?></font>，
                  报名栏目：<font color="#0033FF"><?php echo CategoryModel::model()->getCategory($rs->cat_id,'cat_name');?></font>
                  <?php if($rs->special_id){ ?>
                  专场名称：<font color="#0033FF"><?php echo GoodsBmModel::getSpecialHtmlDetail($rs->special_id);?></font>
                  <?php } ?>
                  </p>
                  <p class="gray4 lh25">
                  上架时间：<font color="#FF33FF"><?php echo date('Y-m-d H:i:s',$rs->start_time)?></font> ，
                  下架时间：<font color="#FF33FF"><?php echo date('Y-m-d H:i:s',$rs->end_time)?></font>
                  </p>

                  <?php if($rs->isdelivery){ 
                  	$DeliveryModel = $rs->getGoodsDelivery($rs->goods_id);
                  	if($DeliveryModel){
                  ?>
                  <p class="gray4 lh25">
                  快递公司：<font color="#FF33FF"><?php echo $DeliveryModel->company;?></font> ，
                  快递单号：<font color="#FF33FF"><?php echo $DeliveryModel->numbers;?></font>
                  </p>
                  <?php }} ?>
                               
                </div></td>
              <td align="center">
              <em class="J_ajax_admin_check" data-gid="<?php echo $rs->goods_id?>">
			  <?php 
			  if($rs->status == 0 && $rs->admin_id == 0){
				  echo '<label><input name="" type="checkbox" value="" />点击领取</label><br/>';
			  }else if($rs->status == 0 && $rs->admin_id){
				  $adminList = array();
				  foreach(AdminUser::model()->getUserList() as $admin){
					  $adminList[$admin['admin_id']] = $admin['real_name'];
				  }
				  echo '<label>重新分配给'.Form::select($adminList,$rs->admin_id,'data-goods_id="'.$rs->goods_id.'"', '').'</label><br/>';
			  }
			  echo GoodsBmModel::model()->getHtmlStatus($rs);
        if($rs->status == 3){
          $userNmae = AdminUser::model()->getByUidFindName($rs->admin_id);
          echo "</br>审核人:{$userNmae}";
           if($rs->isdelivery != 2){
             if(RBAC::authenticate('delivery')){
               echo '<br/><a data-goods_id="'.$rs->goods_id.'" class="J_ajax_admin_check_delivery" href="'.AdminBase::U("delivery",array('goods_id'=>$rs->goods_id)).'"><font color="">确认收到邮寄样品</font></a>';
             }
           }          
        }
			  ?>
              </em>
              </td>
              <td align="center">
              <?php
			  if(ACTION_NAME == 'pass' || $rs->status == 1){
			  ?>
              已审核商品不能进行操作
              <?php
			     if(RBAC::authenticate('fogoods')){
					 echo '<br/><a href="'.AdminBase::U("fogoods",array('goods_id'=>$rs->goods_id)).'" >重新发布到商品管理</a>';
				 }
			  }else{
				  $op = array();
				  if(RBAC::authenticate('editor')){
					  $op[] = '<a href="'.AdminBase::U("editor",array('goods_id'=>$rs->goods_id)).'" >编辑</a>';
				  }
				  if(RBAC::authenticate('delete')){
					  $op[] = '<a class="J_ajax_del" href="'.AdminBase::U("delete",array('goods_id'=>$rs->goods_id)).'" >删除</a>';
				  }
				   if(RBAC::authenticate('pay') && ACTION_NAME == 'pay' && $rs->pay_status == -1){
					   $op[] = '<a href="'.AdminBase::U("refund",array('goods_id'=>$rs->goods_id)).'"><font color="#FF00FF">确认完成退款</font></a>';
				   }
				   if(RBAC::authenticate('notice')){
					   $op[] = '<a href="'.AdminBase::U("notice",array('goods_id'=>$rs->goods_id)).'" class="J_ajax_notice" data-product_id="'.$rs->product_id.'"><font color="#FF00FF">信息通知</font></a>';
				   }
				   if(Yii::app()->passport->isAdministrator() || $rs->admin_id == AdminBase::$uid){
					   echo implode(' | ',$op);
				   }
			  }
			  ?>
              </td>